package me.fung.rem.app.main.version

import org.ktorm.database.Database
import java.sql.Connection

class VersionUpdater1p3 : VersionUpdater() {
    override val targetVersion: Float = 1.3f

    override fun updateSql(db: Database, connection: Connection) {
        // 1.3 版本更新 SQL
        // 创建搜索记录表
        """
            CREATE table Search(
            content varchar(255) ,
            time datetime(255)
            );
        """.trimIndent().createStatementAndExecute(connection)
    }

}